import time
import unittest
from Page import Page
from selenium import webdriver
from Page import Page

class MyTestCase(unittest.TestCase):

    def setUp(self) -> None:
        self.driver = webdriver.Chrome()
        self.driver.maximize_window()
        print(f'start case')

    def tearDown(self) -> None:
        self.driver.quit()
        time.sleep(3)
        print(f'end case')


    def test_login_01(self):
        po = Page(self.driver)
        po.test_xk_login_01()
        self.assertEqual(True, True)  # add assertion here


if __name__ == '__main__':
    unittest.main()
